<?php
if (isset($returnpath) && $returnpath != "") { ?>
<script type="text/javascript"><!--//--><![CDATA[//><!--
$(document).ready(function() {
	loadPage(Base64Decode('<?php echo $returnpath; ?>'));
});
//--><!]]></script><?php
} else { ?>
	<script type="text/javascript"><!--//--><![CDATA[//><!--
		<?php
		if (APP=='FIN'){
			echo "loadPage('/app_keu/dashboard');";
		} elseif (APP=='HRD') {
			echo "loadPage('/app_hrd/dashboard');";
		} else {
			echo "loadPage('/app/dashboard');";
		}
		?>
	</script>
<?php
	//include("dashboard.php");
} ?>